package com.yh.dao;

import com.yh.model.HouseModel;

import java.util.List;

public interface HouseDao {
    int addHouse(HouseModel houseEntity);
    int delHouse(int hid);
    int updHouse(HouseModel houseEntity);
    List<HouseModel> allHouse(int first,int end);
    HouseModel findHouse(int hid);
    List<HouseModel> likeHouse(String title,String type,String area,String price,String street);
    List<HouseModel> userHouses(int id,int first,int end);
    int count();
    int userHousecount(int id);
}
